/**
 * Created with JetBrains PhpStorm.
 * User: ishowshao
 * Date: 12-8-21
 * Time: 下午8:31
 */
Ext.define('ExtFrame.model.menu.Page', {
    extend: 'Ext.data.Model',
    fields: [
        { name: 'id', type: 'int' },
        { name: 'name', type: 'string' }
    ],
    proxy: {
        type: 'ajax',
        api: {
            create: 'createPersons',
            read: 'data/menu/read.pages.json',
            update: 'updatePersons',
            destroy: 'destroyPersons'
        }
    }
});
